package com.zheng.pay.dao.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class PayRefundOrderExample implements Serializable {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private static final long serialVersionUID = 1L;

    public PayRefundOrderExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria implements Serializable {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andRefundorderidIsNull() {
            addCriterion("RefundOrderId is null");
            return (Criteria) this;
        }

        public Criteria andRefundorderidIsNotNull() {
            addCriterion("RefundOrderId is not null");
            return (Criteria) this;
        }

        public Criteria andRefundorderidEqualTo(String value) {
            addCriterion("RefundOrderId =", value, "refundorderid");
            return (Criteria) this;
        }

        public Criteria andRefundorderidNotEqualTo(String value) {
            addCriterion("RefundOrderId <>", value, "refundorderid");
            return (Criteria) this;
        }

        public Criteria andRefundorderidGreaterThan(String value) {
            addCriterion("RefundOrderId >", value, "refundorderid");
            return (Criteria) this;
        }

        public Criteria andRefundorderidGreaterThanOrEqualTo(String value) {
            addCriterion("RefundOrderId >=", value, "refundorderid");
            return (Criteria) this;
        }

        public Criteria andRefundorderidLessThan(String value) {
            addCriterion("RefundOrderId <", value, "refundorderid");
            return (Criteria) this;
        }

        public Criteria andRefundorderidLessThanOrEqualTo(String value) {
            addCriterion("RefundOrderId <=", value, "refundorderid");
            return (Criteria) this;
        }

        public Criteria andRefundorderidLike(String value) {
            addCriterion("RefundOrderId like", value, "refundorderid");
            return (Criteria) this;
        }

        public Criteria andRefundorderidNotLike(String value) {
            addCriterion("RefundOrderId not like", value, "refundorderid");
            return (Criteria) this;
        }

        public Criteria andRefundorderidIn(List<String> values) {
            addCriterion("RefundOrderId in", values, "refundorderid");
            return (Criteria) this;
        }

        public Criteria andRefundorderidNotIn(List<String> values) {
            addCriterion("RefundOrderId not in", values, "refundorderid");
            return (Criteria) this;
        }

        public Criteria andRefundorderidBetween(String value1, String value2) {
            addCriterion("RefundOrderId between", value1, value2, "refundorderid");
            return (Criteria) this;
        }

        public Criteria andRefundorderidNotBetween(String value1, String value2) {
            addCriterion("RefundOrderId not between", value1, value2, "refundorderid");
            return (Criteria) this;
        }

        public Criteria andPayorderidIsNull() {
            addCriterion("PayOrderId is null");
            return (Criteria) this;
        }

        public Criteria andPayorderidIsNotNull() {
            addCriterion("PayOrderId is not null");
            return (Criteria) this;
        }

        public Criteria andPayorderidEqualTo(String value) {
            addCriterion("PayOrderId =", value, "payorderid");
            return (Criteria) this;
        }

        public Criteria andPayorderidNotEqualTo(String value) {
            addCriterion("PayOrderId <>", value, "payorderid");
            return (Criteria) this;
        }

        public Criteria andPayorderidGreaterThan(String value) {
            addCriterion("PayOrderId >", value, "payorderid");
            return (Criteria) this;
        }

        public Criteria andPayorderidGreaterThanOrEqualTo(String value) {
            addCriterion("PayOrderId >=", value, "payorderid");
            return (Criteria) this;
        }

        public Criteria andPayorderidLessThan(String value) {
            addCriterion("PayOrderId <", value, "payorderid");
            return (Criteria) this;
        }

        public Criteria andPayorderidLessThanOrEqualTo(String value) {
            addCriterion("PayOrderId <=", value, "payorderid");
            return (Criteria) this;
        }

        public Criteria andPayorderidLike(String value) {
            addCriterion("PayOrderId like", value, "payorderid");
            return (Criteria) this;
        }

        public Criteria andPayorderidNotLike(String value) {
            addCriterion("PayOrderId not like", value, "payorderid");
            return (Criteria) this;
        }

        public Criteria andPayorderidIn(List<String> values) {
            addCriterion("PayOrderId in", values, "payorderid");
            return (Criteria) this;
        }

        public Criteria andPayorderidNotIn(List<String> values) {
            addCriterion("PayOrderId not in", values, "payorderid");
            return (Criteria) this;
        }

        public Criteria andPayorderidBetween(String value1, String value2) {
            addCriterion("PayOrderId between", value1, value2, "payorderid");
            return (Criteria) this;
        }

        public Criteria andPayorderidNotBetween(String value1, String value2) {
            addCriterion("PayOrderId not between", value1, value2, "payorderid");
            return (Criteria) this;
        }

        public Criteria andChannelpayordernoIsNull() {
            addCriterion("ChannelPayOrderNo is null");
            return (Criteria) this;
        }

        public Criteria andChannelpayordernoIsNotNull() {
            addCriterion("ChannelPayOrderNo is not null");
            return (Criteria) this;
        }

        public Criteria andChannelpayordernoEqualTo(String value) {
            addCriterion("ChannelPayOrderNo =", value, "channelpayorderno");
            return (Criteria) this;
        }

        public Criteria andChannelpayordernoNotEqualTo(String value) {
            addCriterion("ChannelPayOrderNo <>", value, "channelpayorderno");
            return (Criteria) this;
        }

        public Criteria andChannelpayordernoGreaterThan(String value) {
            addCriterion("ChannelPayOrderNo >", value, "channelpayorderno");
            return (Criteria) this;
        }

        public Criteria andChannelpayordernoGreaterThanOrEqualTo(String value) {
            addCriterion("ChannelPayOrderNo >=", value, "channelpayorderno");
            return (Criteria) this;
        }

        public Criteria andChannelpayordernoLessThan(String value) {
            addCriterion("ChannelPayOrderNo <", value, "channelpayorderno");
            return (Criteria) this;
        }

        public Criteria andChannelpayordernoLessThanOrEqualTo(String value) {
            addCriterion("ChannelPayOrderNo <=", value, "channelpayorderno");
            return (Criteria) this;
        }

        public Criteria andChannelpayordernoLike(String value) {
            addCriterion("ChannelPayOrderNo like", value, "channelpayorderno");
            return (Criteria) this;
        }

        public Criteria andChannelpayordernoNotLike(String value) {
            addCriterion("ChannelPayOrderNo not like", value, "channelpayorderno");
            return (Criteria) this;
        }

        public Criteria andChannelpayordernoIn(List<String> values) {
            addCriterion("ChannelPayOrderNo in", values, "channelpayorderno");
            return (Criteria) this;
        }

        public Criteria andChannelpayordernoNotIn(List<String> values) {
            addCriterion("ChannelPayOrderNo not in", values, "channelpayorderno");
            return (Criteria) this;
        }

        public Criteria andChannelpayordernoBetween(String value1, String value2) {
            addCriterion("ChannelPayOrderNo between", value1, value2, "channelpayorderno");
            return (Criteria) this;
        }

        public Criteria andChannelpayordernoNotBetween(String value1, String value2) {
            addCriterion("ChannelPayOrderNo not between", value1, value2, "channelpayorderno");
            return (Criteria) this;
        }

        public Criteria andMchidIsNull() {
            addCriterion("MchId is null");
            return (Criteria) this;
        }

        public Criteria andMchidIsNotNull() {
            addCriterion("MchId is not null");
            return (Criteria) this;
        }

        public Criteria andMchidEqualTo(String value) {
            addCriterion("MchId =", value, "mchid");
            return (Criteria) this;
        }

        public Criteria andMchidNotEqualTo(String value) {
            addCriterion("MchId <>", value, "mchid");
            return (Criteria) this;
        }

        public Criteria andMchidGreaterThan(String value) {
            addCriterion("MchId >", value, "mchid");
            return (Criteria) this;
        }

        public Criteria andMchidGreaterThanOrEqualTo(String value) {
            addCriterion("MchId >=", value, "mchid");
            return (Criteria) this;
        }

        public Criteria andMchidLessThan(String value) {
            addCriterion("MchId <", value, "mchid");
            return (Criteria) this;
        }

        public Criteria andMchidLessThanOrEqualTo(String value) {
            addCriterion("MchId <=", value, "mchid");
            return (Criteria) this;
        }

        public Criteria andMchidLike(String value) {
            addCriterion("MchId like", value, "mchid");
            return (Criteria) this;
        }

        public Criteria andMchidNotLike(String value) {
            addCriterion("MchId not like", value, "mchid");
            return (Criteria) this;
        }

        public Criteria andMchidIn(List<String> values) {
            addCriterion("MchId in", values, "mchid");
            return (Criteria) this;
        }

        public Criteria andMchidNotIn(List<String> values) {
            addCriterion("MchId not in", values, "mchid");
            return (Criteria) this;
        }

        public Criteria andMchidBetween(String value1, String value2) {
            addCriterion("MchId between", value1, value2, "mchid");
            return (Criteria) this;
        }

        public Criteria andMchidNotBetween(String value1, String value2) {
            addCriterion("MchId not between", value1, value2, "mchid");
            return (Criteria) this;
        }

        public Criteria andMchrefundnoIsNull() {
            addCriterion("MchRefundNo is null");
            return (Criteria) this;
        }

        public Criteria andMchrefundnoIsNotNull() {
            addCriterion("MchRefundNo is not null");
            return (Criteria) this;
        }

        public Criteria andMchrefundnoEqualTo(String value) {
            addCriterion("MchRefundNo =", value, "mchrefundno");
            return (Criteria) this;
        }

        public Criteria andMchrefundnoNotEqualTo(String value) {
            addCriterion("MchRefundNo <>", value, "mchrefundno");
            return (Criteria) this;
        }

        public Criteria andMchrefundnoGreaterThan(String value) {
            addCriterion("MchRefundNo >", value, "mchrefundno");
            return (Criteria) this;
        }

        public Criteria andMchrefundnoGreaterThanOrEqualTo(String value) {
            addCriterion("MchRefundNo >=", value, "mchrefundno");
            return (Criteria) this;
        }

        public Criteria andMchrefundnoLessThan(String value) {
            addCriterion("MchRefundNo <", value, "mchrefundno");
            return (Criteria) this;
        }

        public Criteria andMchrefundnoLessThanOrEqualTo(String value) {
            addCriterion("MchRefundNo <=", value, "mchrefundno");
            return (Criteria) this;
        }

        public Criteria andMchrefundnoLike(String value) {
            addCriterion("MchRefundNo like", value, "mchrefundno");
            return (Criteria) this;
        }

        public Criteria andMchrefundnoNotLike(String value) {
            addCriterion("MchRefundNo not like", value, "mchrefundno");
            return (Criteria) this;
        }

        public Criteria andMchrefundnoIn(List<String> values) {
            addCriterion("MchRefundNo in", values, "mchrefundno");
            return (Criteria) this;
        }

        public Criteria andMchrefundnoNotIn(List<String> values) {
            addCriterion("MchRefundNo not in", values, "mchrefundno");
            return (Criteria) this;
        }

        public Criteria andMchrefundnoBetween(String value1, String value2) {
            addCriterion("MchRefundNo between", value1, value2, "mchrefundno");
            return (Criteria) this;
        }

        public Criteria andMchrefundnoNotBetween(String value1, String value2) {
            addCriterion("MchRefundNo not between", value1, value2, "mchrefundno");
            return (Criteria) this;
        }

        public Criteria andChannelidIsNull() {
            addCriterion("ChannelId is null");
            return (Criteria) this;
        }

        public Criteria andChannelidIsNotNull() {
            addCriterion("ChannelId is not null");
            return (Criteria) this;
        }

        public Criteria andChannelidEqualTo(String value) {
            addCriterion("ChannelId =", value, "channelid");
            return (Criteria) this;
        }

        public Criteria andChannelidNotEqualTo(String value) {
            addCriterion("ChannelId <>", value, "channelid");
            return (Criteria) this;
        }

        public Criteria andChannelidGreaterThan(String value) {
            addCriterion("ChannelId >", value, "channelid");
            return (Criteria) this;
        }

        public Criteria andChannelidGreaterThanOrEqualTo(String value) {
            addCriterion("ChannelId >=", value, "channelid");
            return (Criteria) this;
        }

        public Criteria andChannelidLessThan(String value) {
            addCriterion("ChannelId <", value, "channelid");
            return (Criteria) this;
        }

        public Criteria andChannelidLessThanOrEqualTo(String value) {
            addCriterion("ChannelId <=", value, "channelid");
            return (Criteria) this;
        }

        public Criteria andChannelidLike(String value) {
            addCriterion("ChannelId like", value, "channelid");
            return (Criteria) this;
        }

        public Criteria andChannelidNotLike(String value) {
            addCriterion("ChannelId not like", value, "channelid");
            return (Criteria) this;
        }

        public Criteria andChannelidIn(List<String> values) {
            addCriterion("ChannelId in", values, "channelid");
            return (Criteria) this;
        }

        public Criteria andChannelidNotIn(List<String> values) {
            addCriterion("ChannelId not in", values, "channelid");
            return (Criteria) this;
        }

        public Criteria andChannelidBetween(String value1, String value2) {
            addCriterion("ChannelId between", value1, value2, "channelid");
            return (Criteria) this;
        }

        public Criteria andChannelidNotBetween(String value1, String value2) {
            addCriterion("ChannelId not between", value1, value2, "channelid");
            return (Criteria) this;
        }

        public Criteria andPayamountIsNull() {
            addCriterion("PayAmount is null");
            return (Criteria) this;
        }

        public Criteria andPayamountIsNotNull() {
            addCriterion("PayAmount is not null");
            return (Criteria) this;
        }

        public Criteria andPayamountEqualTo(Long value) {
            addCriterion("PayAmount =", value, "payamount");
            return (Criteria) this;
        }

        public Criteria andPayamountNotEqualTo(Long value) {
            addCriterion("PayAmount <>", value, "payamount");
            return (Criteria) this;
        }

        public Criteria andPayamountGreaterThan(Long value) {
            addCriterion("PayAmount >", value, "payamount");
            return (Criteria) this;
        }

        public Criteria andPayamountGreaterThanOrEqualTo(Long value) {
            addCriterion("PayAmount >=", value, "payamount");
            return (Criteria) this;
        }

        public Criteria andPayamountLessThan(Long value) {
            addCriterion("PayAmount <", value, "payamount");
            return (Criteria) this;
        }

        public Criteria andPayamountLessThanOrEqualTo(Long value) {
            addCriterion("PayAmount <=", value, "payamount");
            return (Criteria) this;
        }

        public Criteria andPayamountIn(List<Long> values) {
            addCriterion("PayAmount in", values, "payamount");
            return (Criteria) this;
        }

        public Criteria andPayamountNotIn(List<Long> values) {
            addCriterion("PayAmount not in", values, "payamount");
            return (Criteria) this;
        }

        public Criteria andPayamountBetween(Long value1, Long value2) {
            addCriterion("PayAmount between", value1, value2, "payamount");
            return (Criteria) this;
        }

        public Criteria andPayamountNotBetween(Long value1, Long value2) {
            addCriterion("PayAmount not between", value1, value2, "payamount");
            return (Criteria) this;
        }

        public Criteria andRefundamountIsNull() {
            addCriterion("RefundAmount is null");
            return (Criteria) this;
        }

        public Criteria andRefundamountIsNotNull() {
            addCriterion("RefundAmount is not null");
            return (Criteria) this;
        }

        public Criteria andRefundamountEqualTo(Long value) {
            addCriterion("RefundAmount =", value, "refundamount");
            return (Criteria) this;
        }

        public Criteria andRefundamountNotEqualTo(Long value) {
            addCriterion("RefundAmount <>", value, "refundamount");
            return (Criteria) this;
        }

        public Criteria andRefundamountGreaterThan(Long value) {
            addCriterion("RefundAmount >", value, "refundamount");
            return (Criteria) this;
        }

        public Criteria andRefundamountGreaterThanOrEqualTo(Long value) {
            addCriterion("RefundAmount >=", value, "refundamount");
            return (Criteria) this;
        }

        public Criteria andRefundamountLessThan(Long value) {
            addCriterion("RefundAmount <", value, "refundamount");
            return (Criteria) this;
        }

        public Criteria andRefundamountLessThanOrEqualTo(Long value) {
            addCriterion("RefundAmount <=", value, "refundamount");
            return (Criteria) this;
        }

        public Criteria andRefundamountIn(List<Long> values) {
            addCriterion("RefundAmount in", values, "refundamount");
            return (Criteria) this;
        }

        public Criteria andRefundamountNotIn(List<Long> values) {
            addCriterion("RefundAmount not in", values, "refundamount");
            return (Criteria) this;
        }

        public Criteria andRefundamountBetween(Long value1, Long value2) {
            addCriterion("RefundAmount between", value1, value2, "refundamount");
            return (Criteria) this;
        }

        public Criteria andRefundamountNotBetween(Long value1, Long value2) {
            addCriterion("RefundAmount not between", value1, value2, "refundamount");
            return (Criteria) this;
        }

        public Criteria andCurrencyIsNull() {
            addCriterion("Currency is null");
            return (Criteria) this;
        }

        public Criteria andCurrencyIsNotNull() {
            addCriterion("Currency is not null");
            return (Criteria) this;
        }

        public Criteria andCurrencyEqualTo(String value) {
            addCriterion("Currency =", value, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyNotEqualTo(String value) {
            addCriterion("Currency <>", value, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyGreaterThan(String value) {
            addCriterion("Currency >", value, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyGreaterThanOrEqualTo(String value) {
            addCriterion("Currency >=", value, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyLessThan(String value) {
            addCriterion("Currency <", value, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyLessThanOrEqualTo(String value) {
            addCriterion("Currency <=", value, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyLike(String value) {
            addCriterion("Currency like", value, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyNotLike(String value) {
            addCriterion("Currency not like", value, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyIn(List<String> values) {
            addCriterion("Currency in", values, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyNotIn(List<String> values) {
            addCriterion("Currency not in", values, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyBetween(String value1, String value2) {
            addCriterion("Currency between", value1, value2, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyNotBetween(String value1, String value2) {
            addCriterion("Currency not between", value1, value2, "currency");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("Status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("Status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Byte value) {
            addCriterion("Status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Byte value) {
            addCriterion("Status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Byte value) {
            addCriterion("Status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Byte value) {
            addCriterion("Status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Byte value) {
            addCriterion("Status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Byte value) {
            addCriterion("Status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Byte> values) {
            addCriterion("Status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Byte> values) {
            addCriterion("Status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Byte value1, Byte value2) {
            addCriterion("Status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Byte value1, Byte value2) {
            addCriterion("Status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andResultIsNull() {
            addCriterion("Result is null");
            return (Criteria) this;
        }

        public Criteria andResultIsNotNull() {
            addCriterion("Result is not null");
            return (Criteria) this;
        }

        public Criteria andResultEqualTo(Byte value) {
            addCriterion("Result =", value, "result");
            return (Criteria) this;
        }

        public Criteria andResultNotEqualTo(Byte value) {
            addCriterion("Result <>", value, "result");
            return (Criteria) this;
        }

        public Criteria andResultGreaterThan(Byte value) {
            addCriterion("Result >", value, "result");
            return (Criteria) this;
        }

        public Criteria andResultGreaterThanOrEqualTo(Byte value) {
            addCriterion("Result >=", value, "result");
            return (Criteria) this;
        }

        public Criteria andResultLessThan(Byte value) {
            addCriterion("Result <", value, "result");
            return (Criteria) this;
        }

        public Criteria andResultLessThanOrEqualTo(Byte value) {
            addCriterion("Result <=", value, "result");
            return (Criteria) this;
        }

        public Criteria andResultIn(List<Byte> values) {
            addCriterion("Result in", values, "result");
            return (Criteria) this;
        }

        public Criteria andResultNotIn(List<Byte> values) {
            addCriterion("Result not in", values, "result");
            return (Criteria) this;
        }

        public Criteria andResultBetween(Byte value1, Byte value2) {
            addCriterion("Result between", value1, value2, "result");
            return (Criteria) this;
        }

        public Criteria andResultNotBetween(Byte value1, Byte value2) {
            addCriterion("Result not between", value1, value2, "result");
            return (Criteria) this;
        }

        public Criteria andClientipIsNull() {
            addCriterion("ClientIp is null");
            return (Criteria) this;
        }

        public Criteria andClientipIsNotNull() {
            addCriterion("ClientIp is not null");
            return (Criteria) this;
        }

        public Criteria andClientipEqualTo(String value) {
            addCriterion("ClientIp =", value, "clientip");
            return (Criteria) this;
        }

        public Criteria andClientipNotEqualTo(String value) {
            addCriterion("ClientIp <>", value, "clientip");
            return (Criteria) this;
        }

        public Criteria andClientipGreaterThan(String value) {
            addCriterion("ClientIp >", value, "clientip");
            return (Criteria) this;
        }

        public Criteria andClientipGreaterThanOrEqualTo(String value) {
            addCriterion("ClientIp >=", value, "clientip");
            return (Criteria) this;
        }

        public Criteria andClientipLessThan(String value) {
            addCriterion("ClientIp <", value, "clientip");
            return (Criteria) this;
        }

        public Criteria andClientipLessThanOrEqualTo(String value) {
            addCriterion("ClientIp <=", value, "clientip");
            return (Criteria) this;
        }

        public Criteria andClientipLike(String value) {
            addCriterion("ClientIp like", value, "clientip");
            return (Criteria) this;
        }

        public Criteria andClientipNotLike(String value) {
            addCriterion("ClientIp not like", value, "clientip");
            return (Criteria) this;
        }

        public Criteria andClientipIn(List<String> values) {
            addCriterion("ClientIp in", values, "clientip");
            return (Criteria) this;
        }

        public Criteria andClientipNotIn(List<String> values) {
            addCriterion("ClientIp not in", values, "clientip");
            return (Criteria) this;
        }

        public Criteria andClientipBetween(String value1, String value2) {
            addCriterion("ClientIp between", value1, value2, "clientip");
            return (Criteria) this;
        }

        public Criteria andClientipNotBetween(String value1, String value2) {
            addCriterion("ClientIp not between", value1, value2, "clientip");
            return (Criteria) this;
        }

        public Criteria andDeviceIsNull() {
            addCriterion("Device is null");
            return (Criteria) this;
        }

        public Criteria andDeviceIsNotNull() {
            addCriterion("Device is not null");
            return (Criteria) this;
        }

        public Criteria andDeviceEqualTo(String value) {
            addCriterion("Device =", value, "device");
            return (Criteria) this;
        }

        public Criteria andDeviceNotEqualTo(String value) {
            addCriterion("Device <>", value, "device");
            return (Criteria) this;
        }

        public Criteria andDeviceGreaterThan(String value) {
            addCriterion("Device >", value, "device");
            return (Criteria) this;
        }

        public Criteria andDeviceGreaterThanOrEqualTo(String value) {
            addCriterion("Device >=", value, "device");
            return (Criteria) this;
        }

        public Criteria andDeviceLessThan(String value) {
            addCriterion("Device <", value, "device");
            return (Criteria) this;
        }

        public Criteria andDeviceLessThanOrEqualTo(String value) {
            addCriterion("Device <=", value, "device");
            return (Criteria) this;
        }

        public Criteria andDeviceLike(String value) {
            addCriterion("Device like", value, "device");
            return (Criteria) this;
        }

        public Criteria andDeviceNotLike(String value) {
            addCriterion("Device not like", value, "device");
            return (Criteria) this;
        }

        public Criteria andDeviceIn(List<String> values) {
            addCriterion("Device in", values, "device");
            return (Criteria) this;
        }

        public Criteria andDeviceNotIn(List<String> values) {
            addCriterion("Device not in", values, "device");
            return (Criteria) this;
        }

        public Criteria andDeviceBetween(String value1, String value2) {
            addCriterion("Device between", value1, value2, "device");
            return (Criteria) this;
        }

        public Criteria andDeviceNotBetween(String value1, String value2) {
            addCriterion("Device not between", value1, value2, "device");
            return (Criteria) this;
        }

        public Criteria andRemarkinfoIsNull() {
            addCriterion("RemarkInfo is null");
            return (Criteria) this;
        }

        public Criteria andRemarkinfoIsNotNull() {
            addCriterion("RemarkInfo is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkinfoEqualTo(String value) {
            addCriterion("RemarkInfo =", value, "remarkinfo");
            return (Criteria) this;
        }

        public Criteria andRemarkinfoNotEqualTo(String value) {
            addCriterion("RemarkInfo <>", value, "remarkinfo");
            return (Criteria) this;
        }

        public Criteria andRemarkinfoGreaterThan(String value) {
            addCriterion("RemarkInfo >", value, "remarkinfo");
            return (Criteria) this;
        }

        public Criteria andRemarkinfoGreaterThanOrEqualTo(String value) {
            addCriterion("RemarkInfo >=", value, "remarkinfo");
            return (Criteria) this;
        }

        public Criteria andRemarkinfoLessThan(String value) {
            addCriterion("RemarkInfo <", value, "remarkinfo");
            return (Criteria) this;
        }

        public Criteria andRemarkinfoLessThanOrEqualTo(String value) {
            addCriterion("RemarkInfo <=", value, "remarkinfo");
            return (Criteria) this;
        }

        public Criteria andRemarkinfoLike(String value) {
            addCriterion("RemarkInfo like", value, "remarkinfo");
            return (Criteria) this;
        }

        public Criteria andRemarkinfoNotLike(String value) {
            addCriterion("RemarkInfo not like", value, "remarkinfo");
            return (Criteria) this;
        }

        public Criteria andRemarkinfoIn(List<String> values) {
            addCriterion("RemarkInfo in", values, "remarkinfo");
            return (Criteria) this;
        }

        public Criteria andRemarkinfoNotIn(List<String> values) {
            addCriterion("RemarkInfo not in", values, "remarkinfo");
            return (Criteria) this;
        }

        public Criteria andRemarkinfoBetween(String value1, String value2) {
            addCriterion("RemarkInfo between", value1, value2, "remarkinfo");
            return (Criteria) this;
        }

        public Criteria andRemarkinfoNotBetween(String value1, String value2) {
            addCriterion("RemarkInfo not between", value1, value2, "remarkinfo");
            return (Criteria) this;
        }

        public Criteria andChanneluserIsNull() {
            addCriterion("ChannelUser is null");
            return (Criteria) this;
        }

        public Criteria andChanneluserIsNotNull() {
            addCriterion("ChannelUser is not null");
            return (Criteria) this;
        }

        public Criteria andChanneluserEqualTo(String value) {
            addCriterion("ChannelUser =", value, "channeluser");
            return (Criteria) this;
        }

        public Criteria andChanneluserNotEqualTo(String value) {
            addCriterion("ChannelUser <>", value, "channeluser");
            return (Criteria) this;
        }

        public Criteria andChanneluserGreaterThan(String value) {
            addCriterion("ChannelUser >", value, "channeluser");
            return (Criteria) this;
        }

        public Criteria andChanneluserGreaterThanOrEqualTo(String value) {
            addCriterion("ChannelUser >=", value, "channeluser");
            return (Criteria) this;
        }

        public Criteria andChanneluserLessThan(String value) {
            addCriterion("ChannelUser <", value, "channeluser");
            return (Criteria) this;
        }

        public Criteria andChanneluserLessThanOrEqualTo(String value) {
            addCriterion("ChannelUser <=", value, "channeluser");
            return (Criteria) this;
        }

        public Criteria andChanneluserLike(String value) {
            addCriterion("ChannelUser like", value, "channeluser");
            return (Criteria) this;
        }

        public Criteria andChanneluserNotLike(String value) {
            addCriterion("ChannelUser not like", value, "channeluser");
            return (Criteria) this;
        }

        public Criteria andChanneluserIn(List<String> values) {
            addCriterion("ChannelUser in", values, "channeluser");
            return (Criteria) this;
        }

        public Criteria andChanneluserNotIn(List<String> values) {
            addCriterion("ChannelUser not in", values, "channeluser");
            return (Criteria) this;
        }

        public Criteria andChanneluserBetween(String value1, String value2) {
            addCriterion("ChannelUser between", value1, value2, "channeluser");
            return (Criteria) this;
        }

        public Criteria andChanneluserNotBetween(String value1, String value2) {
            addCriterion("ChannelUser not between", value1, value2, "channeluser");
            return (Criteria) this;
        }

        public Criteria andUsernameIsNull() {
            addCriterion("UserName is null");
            return (Criteria) this;
        }

        public Criteria andUsernameIsNotNull() {
            addCriterion("UserName is not null");
            return (Criteria) this;
        }

        public Criteria andUsernameEqualTo(String value) {
            addCriterion("UserName =", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotEqualTo(String value) {
            addCriterion("UserName <>", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameGreaterThan(String value) {
            addCriterion("UserName >", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameGreaterThanOrEqualTo(String value) {
            addCriterion("UserName >=", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameLessThan(String value) {
            addCriterion("UserName <", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameLessThanOrEqualTo(String value) {
            addCriterion("UserName <=", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameLike(String value) {
            addCriterion("UserName like", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotLike(String value) {
            addCriterion("UserName not like", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameIn(List<String> values) {
            addCriterion("UserName in", values, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotIn(List<String> values) {
            addCriterion("UserName not in", values, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameBetween(String value1, String value2) {
            addCriterion("UserName between", value1, value2, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotBetween(String value1, String value2) {
            addCriterion("UserName not between", value1, value2, "username");
            return (Criteria) this;
        }

        public Criteria andChannelmchidIsNull() {
            addCriterion("ChannelMchId is null");
            return (Criteria) this;
        }

        public Criteria andChannelmchidIsNotNull() {
            addCriterion("ChannelMchId is not null");
            return (Criteria) this;
        }

        public Criteria andChannelmchidEqualTo(String value) {
            addCriterion("ChannelMchId =", value, "channelmchid");
            return (Criteria) this;
        }

        public Criteria andChannelmchidNotEqualTo(String value) {
            addCriterion("ChannelMchId <>", value, "channelmchid");
            return (Criteria) this;
        }

        public Criteria andChannelmchidGreaterThan(String value) {
            addCriterion("ChannelMchId >", value, "channelmchid");
            return (Criteria) this;
        }

        public Criteria andChannelmchidGreaterThanOrEqualTo(String value) {
            addCriterion("ChannelMchId >=", value, "channelmchid");
            return (Criteria) this;
        }

        public Criteria andChannelmchidLessThan(String value) {
            addCriterion("ChannelMchId <", value, "channelmchid");
            return (Criteria) this;
        }

        public Criteria andChannelmchidLessThanOrEqualTo(String value) {
            addCriterion("ChannelMchId <=", value, "channelmchid");
            return (Criteria) this;
        }

        public Criteria andChannelmchidLike(String value) {
            addCriterion("ChannelMchId like", value, "channelmchid");
            return (Criteria) this;
        }

        public Criteria andChannelmchidNotLike(String value) {
            addCriterion("ChannelMchId not like", value, "channelmchid");
            return (Criteria) this;
        }

        public Criteria andChannelmchidIn(List<String> values) {
            addCriterion("ChannelMchId in", values, "channelmchid");
            return (Criteria) this;
        }

        public Criteria andChannelmchidNotIn(List<String> values) {
            addCriterion("ChannelMchId not in", values, "channelmchid");
            return (Criteria) this;
        }

        public Criteria andChannelmchidBetween(String value1, String value2) {
            addCriterion("ChannelMchId between", value1, value2, "channelmchid");
            return (Criteria) this;
        }

        public Criteria andChannelmchidNotBetween(String value1, String value2) {
            addCriterion("ChannelMchId not between", value1, value2, "channelmchid");
            return (Criteria) this;
        }

        public Criteria andChannelordernoIsNull() {
            addCriterion("ChannelOrderNo is null");
            return (Criteria) this;
        }

        public Criteria andChannelordernoIsNotNull() {
            addCriterion("ChannelOrderNo is not null");
            return (Criteria) this;
        }

        public Criteria andChannelordernoEqualTo(String value) {
            addCriterion("ChannelOrderNo =", value, "channelorderno");
            return (Criteria) this;
        }

        public Criteria andChannelordernoNotEqualTo(String value) {
            addCriterion("ChannelOrderNo <>", value, "channelorderno");
            return (Criteria) this;
        }

        public Criteria andChannelordernoGreaterThan(String value) {
            addCriterion("ChannelOrderNo >", value, "channelorderno");
            return (Criteria) this;
        }

        public Criteria andChannelordernoGreaterThanOrEqualTo(String value) {
            addCriterion("ChannelOrderNo >=", value, "channelorderno");
            return (Criteria) this;
        }

        public Criteria andChannelordernoLessThan(String value) {
            addCriterion("ChannelOrderNo <", value, "channelorderno");
            return (Criteria) this;
        }

        public Criteria andChannelordernoLessThanOrEqualTo(String value) {
            addCriterion("ChannelOrderNo <=", value, "channelorderno");
            return (Criteria) this;
        }

        public Criteria andChannelordernoLike(String value) {
            addCriterion("ChannelOrderNo like", value, "channelorderno");
            return (Criteria) this;
        }

        public Criteria andChannelordernoNotLike(String value) {
            addCriterion("ChannelOrderNo not like", value, "channelorderno");
            return (Criteria) this;
        }

        public Criteria andChannelordernoIn(List<String> values) {
            addCriterion("ChannelOrderNo in", values, "channelorderno");
            return (Criteria) this;
        }

        public Criteria andChannelordernoNotIn(List<String> values) {
            addCriterion("ChannelOrderNo not in", values, "channelorderno");
            return (Criteria) this;
        }

        public Criteria andChannelordernoBetween(String value1, String value2) {
            addCriterion("ChannelOrderNo between", value1, value2, "channelorderno");
            return (Criteria) this;
        }

        public Criteria andChannelordernoNotBetween(String value1, String value2) {
            addCriterion("ChannelOrderNo not between", value1, value2, "channelorderno");
            return (Criteria) this;
        }

        public Criteria andChannelerrcodeIsNull() {
            addCriterion("ChannelErrCode is null");
            return (Criteria) this;
        }

        public Criteria andChannelerrcodeIsNotNull() {
            addCriterion("ChannelErrCode is not null");
            return (Criteria) this;
        }

        public Criteria andChannelerrcodeEqualTo(String value) {
            addCriterion("ChannelErrCode =", value, "channelerrcode");
            return (Criteria) this;
        }

        public Criteria andChannelerrcodeNotEqualTo(String value) {
            addCriterion("ChannelErrCode <>", value, "channelerrcode");
            return (Criteria) this;
        }

        public Criteria andChannelerrcodeGreaterThan(String value) {
            addCriterion("ChannelErrCode >", value, "channelerrcode");
            return (Criteria) this;
        }

        public Criteria andChannelerrcodeGreaterThanOrEqualTo(String value) {
            addCriterion("ChannelErrCode >=", value, "channelerrcode");
            return (Criteria) this;
        }

        public Criteria andChannelerrcodeLessThan(String value) {
            addCriterion("ChannelErrCode <", value, "channelerrcode");
            return (Criteria) this;
        }

        public Criteria andChannelerrcodeLessThanOrEqualTo(String value) {
            addCriterion("ChannelErrCode <=", value, "channelerrcode");
            return (Criteria) this;
        }

        public Criteria andChannelerrcodeLike(String value) {
            addCriterion("ChannelErrCode like", value, "channelerrcode");
            return (Criteria) this;
        }

        public Criteria andChannelerrcodeNotLike(String value) {
            addCriterion("ChannelErrCode not like", value, "channelerrcode");
            return (Criteria) this;
        }

        public Criteria andChannelerrcodeIn(List<String> values) {
            addCriterion("ChannelErrCode in", values, "channelerrcode");
            return (Criteria) this;
        }

        public Criteria andChannelerrcodeNotIn(List<String> values) {
            addCriterion("ChannelErrCode not in", values, "channelerrcode");
            return (Criteria) this;
        }

        public Criteria andChannelerrcodeBetween(String value1, String value2) {
            addCriterion("ChannelErrCode between", value1, value2, "channelerrcode");
            return (Criteria) this;
        }

        public Criteria andChannelerrcodeNotBetween(String value1, String value2) {
            addCriterion("ChannelErrCode not between", value1, value2, "channelerrcode");
            return (Criteria) this;
        }

        public Criteria andChannelerrmsgIsNull() {
            addCriterion("ChannelErrMsg is null");
            return (Criteria) this;
        }

        public Criteria andChannelerrmsgIsNotNull() {
            addCriterion("ChannelErrMsg is not null");
            return (Criteria) this;
        }

        public Criteria andChannelerrmsgEqualTo(String value) {
            addCriterion("ChannelErrMsg =", value, "channelerrmsg");
            return (Criteria) this;
        }

        public Criteria andChannelerrmsgNotEqualTo(String value) {
            addCriterion("ChannelErrMsg <>", value, "channelerrmsg");
            return (Criteria) this;
        }

        public Criteria andChannelerrmsgGreaterThan(String value) {
            addCriterion("ChannelErrMsg >", value, "channelerrmsg");
            return (Criteria) this;
        }

        public Criteria andChannelerrmsgGreaterThanOrEqualTo(String value) {
            addCriterion("ChannelErrMsg >=", value, "channelerrmsg");
            return (Criteria) this;
        }

        public Criteria andChannelerrmsgLessThan(String value) {
            addCriterion("ChannelErrMsg <", value, "channelerrmsg");
            return (Criteria) this;
        }

        public Criteria andChannelerrmsgLessThanOrEqualTo(String value) {
            addCriterion("ChannelErrMsg <=", value, "channelerrmsg");
            return (Criteria) this;
        }

        public Criteria andChannelerrmsgLike(String value) {
            addCriterion("ChannelErrMsg like", value, "channelerrmsg");
            return (Criteria) this;
        }

        public Criteria andChannelerrmsgNotLike(String value) {
            addCriterion("ChannelErrMsg not like", value, "channelerrmsg");
            return (Criteria) this;
        }

        public Criteria andChannelerrmsgIn(List<String> values) {
            addCriterion("ChannelErrMsg in", values, "channelerrmsg");
            return (Criteria) this;
        }

        public Criteria andChannelerrmsgNotIn(List<String> values) {
            addCriterion("ChannelErrMsg not in", values, "channelerrmsg");
            return (Criteria) this;
        }

        public Criteria andChannelerrmsgBetween(String value1, String value2) {
            addCriterion("ChannelErrMsg between", value1, value2, "channelerrmsg");
            return (Criteria) this;
        }

        public Criteria andChannelerrmsgNotBetween(String value1, String value2) {
            addCriterion("ChannelErrMsg not between", value1, value2, "channelerrmsg");
            return (Criteria) this;
        }

        public Criteria andExtraIsNull() {
            addCriterion("Extra is null");
            return (Criteria) this;
        }

        public Criteria andExtraIsNotNull() {
            addCriterion("Extra is not null");
            return (Criteria) this;
        }

        public Criteria andExtraEqualTo(String value) {
            addCriterion("Extra =", value, "extra");
            return (Criteria) this;
        }

        public Criteria andExtraNotEqualTo(String value) {
            addCriterion("Extra <>", value, "extra");
            return (Criteria) this;
        }

        public Criteria andExtraGreaterThan(String value) {
            addCriterion("Extra >", value, "extra");
            return (Criteria) this;
        }

        public Criteria andExtraGreaterThanOrEqualTo(String value) {
            addCriterion("Extra >=", value, "extra");
            return (Criteria) this;
        }

        public Criteria andExtraLessThan(String value) {
            addCriterion("Extra <", value, "extra");
            return (Criteria) this;
        }

        public Criteria andExtraLessThanOrEqualTo(String value) {
            addCriterion("Extra <=", value, "extra");
            return (Criteria) this;
        }

        public Criteria andExtraLike(String value) {
            addCriterion("Extra like", value, "extra");
            return (Criteria) this;
        }

        public Criteria andExtraNotLike(String value) {
            addCriterion("Extra not like", value, "extra");
            return (Criteria) this;
        }

        public Criteria andExtraIn(List<String> values) {
            addCriterion("Extra in", values, "extra");
            return (Criteria) this;
        }

        public Criteria andExtraNotIn(List<String> values) {
            addCriterion("Extra not in", values, "extra");
            return (Criteria) this;
        }

        public Criteria andExtraBetween(String value1, String value2) {
            addCriterion("Extra between", value1, value2, "extra");
            return (Criteria) this;
        }

        public Criteria andExtraNotBetween(String value1, String value2) {
            addCriterion("Extra not between", value1, value2, "extra");
            return (Criteria) this;
        }

        public Criteria andNotifyurlIsNull() {
            addCriterion("NotifyUrl is null");
            return (Criteria) this;
        }

        public Criteria andNotifyurlIsNotNull() {
            addCriterion("NotifyUrl is not null");
            return (Criteria) this;
        }

        public Criteria andNotifyurlEqualTo(String value) {
            addCriterion("NotifyUrl =", value, "notifyurl");
            return (Criteria) this;
        }

        public Criteria andNotifyurlNotEqualTo(String value) {
            addCriterion("NotifyUrl <>", value, "notifyurl");
            return (Criteria) this;
        }

        public Criteria andNotifyurlGreaterThan(String value) {
            addCriterion("NotifyUrl >", value, "notifyurl");
            return (Criteria) this;
        }

        public Criteria andNotifyurlGreaterThanOrEqualTo(String value) {
            addCriterion("NotifyUrl >=", value, "notifyurl");
            return (Criteria) this;
        }

        public Criteria andNotifyurlLessThan(String value) {
            addCriterion("NotifyUrl <", value, "notifyurl");
            return (Criteria) this;
        }

        public Criteria andNotifyurlLessThanOrEqualTo(String value) {
            addCriterion("NotifyUrl <=", value, "notifyurl");
            return (Criteria) this;
        }

        public Criteria andNotifyurlLike(String value) {
            addCriterion("NotifyUrl like", value, "notifyurl");
            return (Criteria) this;
        }

        public Criteria andNotifyurlNotLike(String value) {
            addCriterion("NotifyUrl not like", value, "notifyurl");
            return (Criteria) this;
        }

        public Criteria andNotifyurlIn(List<String> values) {
            addCriterion("NotifyUrl in", values, "notifyurl");
            return (Criteria) this;
        }

        public Criteria andNotifyurlNotIn(List<String> values) {
            addCriterion("NotifyUrl not in", values, "notifyurl");
            return (Criteria) this;
        }

        public Criteria andNotifyurlBetween(String value1, String value2) {
            addCriterion("NotifyUrl between", value1, value2, "notifyurl");
            return (Criteria) this;
        }

        public Criteria andNotifyurlNotBetween(String value1, String value2) {
            addCriterion("NotifyUrl not between", value1, value2, "notifyurl");
            return (Criteria) this;
        }

        public Criteria andParam1IsNull() {
            addCriterion("Param1 is null");
            return (Criteria) this;
        }

        public Criteria andParam1IsNotNull() {
            addCriterion("Param1 is not null");
            return (Criteria) this;
        }

        public Criteria andParam1EqualTo(String value) {
            addCriterion("Param1 =", value, "param1");
            return (Criteria) this;
        }

        public Criteria andParam1NotEqualTo(String value) {
            addCriterion("Param1 <>", value, "param1");
            return (Criteria) this;
        }

        public Criteria andParam1GreaterThan(String value) {
            addCriterion("Param1 >", value, "param1");
            return (Criteria) this;
        }

        public Criteria andParam1GreaterThanOrEqualTo(String value) {
            addCriterion("Param1 >=", value, "param1");
            return (Criteria) this;
        }

        public Criteria andParam1LessThan(String value) {
            addCriterion("Param1 <", value, "param1");
            return (Criteria) this;
        }

        public Criteria andParam1LessThanOrEqualTo(String value) {
            addCriterion("Param1 <=", value, "param1");
            return (Criteria) this;
        }

        public Criteria andParam1Like(String value) {
            addCriterion("Param1 like", value, "param1");
            return (Criteria) this;
        }

        public Criteria andParam1NotLike(String value) {
            addCriterion("Param1 not like", value, "param1");
            return (Criteria) this;
        }

        public Criteria andParam1In(List<String> values) {
            addCriterion("Param1 in", values, "param1");
            return (Criteria) this;
        }

        public Criteria andParam1NotIn(List<String> values) {
            addCriterion("Param1 not in", values, "param1");
            return (Criteria) this;
        }

        public Criteria andParam1Between(String value1, String value2) {
            addCriterion("Param1 between", value1, value2, "param1");
            return (Criteria) this;
        }

        public Criteria andParam1NotBetween(String value1, String value2) {
            addCriterion("Param1 not between", value1, value2, "param1");
            return (Criteria) this;
        }

        public Criteria andParam2IsNull() {
            addCriterion("Param2 is null");
            return (Criteria) this;
        }

        public Criteria andParam2IsNotNull() {
            addCriterion("Param2 is not null");
            return (Criteria) this;
        }

        public Criteria andParam2EqualTo(String value) {
            addCriterion("Param2 =", value, "param2");
            return (Criteria) this;
        }

        public Criteria andParam2NotEqualTo(String value) {
            addCriterion("Param2 <>", value, "param2");
            return (Criteria) this;
        }

        public Criteria andParam2GreaterThan(String value) {
            addCriterion("Param2 >", value, "param2");
            return (Criteria) this;
        }

        public Criteria andParam2GreaterThanOrEqualTo(String value) {
            addCriterion("Param2 >=", value, "param2");
            return (Criteria) this;
        }

        public Criteria andParam2LessThan(String value) {
            addCriterion("Param2 <", value, "param2");
            return (Criteria) this;
        }

        public Criteria andParam2LessThanOrEqualTo(String value) {
            addCriterion("Param2 <=", value, "param2");
            return (Criteria) this;
        }

        public Criteria andParam2Like(String value) {
            addCriterion("Param2 like", value, "param2");
            return (Criteria) this;
        }

        public Criteria andParam2NotLike(String value) {
            addCriterion("Param2 not like", value, "param2");
            return (Criteria) this;
        }

        public Criteria andParam2In(List<String> values) {
            addCriterion("Param2 in", values, "param2");
            return (Criteria) this;
        }

        public Criteria andParam2NotIn(List<String> values) {
            addCriterion("Param2 not in", values, "param2");
            return (Criteria) this;
        }

        public Criteria andParam2Between(String value1, String value2) {
            addCriterion("Param2 between", value1, value2, "param2");
            return (Criteria) this;
        }

        public Criteria andParam2NotBetween(String value1, String value2) {
            addCriterion("Param2 not between", value1, value2, "param2");
            return (Criteria) this;
        }

        public Criteria andExpiretimeIsNull() {
            addCriterion("ExpireTime is null");
            return (Criteria) this;
        }

        public Criteria andExpiretimeIsNotNull() {
            addCriterion("ExpireTime is not null");
            return (Criteria) this;
        }

        public Criteria andExpiretimeEqualTo(Date value) {
            addCriterion("ExpireTime =", value, "expiretime");
            return (Criteria) this;
        }

        public Criteria andExpiretimeNotEqualTo(Date value) {
            addCriterion("ExpireTime <>", value, "expiretime");
            return (Criteria) this;
        }

        public Criteria andExpiretimeGreaterThan(Date value) {
            addCriterion("ExpireTime >", value, "expiretime");
            return (Criteria) this;
        }

        public Criteria andExpiretimeGreaterThanOrEqualTo(Date value) {
            addCriterion("ExpireTime >=", value, "expiretime");
            return (Criteria) this;
        }

        public Criteria andExpiretimeLessThan(Date value) {
            addCriterion("ExpireTime <", value, "expiretime");
            return (Criteria) this;
        }

        public Criteria andExpiretimeLessThanOrEqualTo(Date value) {
            addCriterion("ExpireTime <=", value, "expiretime");
            return (Criteria) this;
        }

        public Criteria andExpiretimeIn(List<Date> values) {
            addCriterion("ExpireTime in", values, "expiretime");
            return (Criteria) this;
        }

        public Criteria andExpiretimeNotIn(List<Date> values) {
            addCriterion("ExpireTime not in", values, "expiretime");
            return (Criteria) this;
        }

        public Criteria andExpiretimeBetween(Date value1, Date value2) {
            addCriterion("ExpireTime between", value1, value2, "expiretime");
            return (Criteria) this;
        }

        public Criteria andExpiretimeNotBetween(Date value1, Date value2) {
            addCriterion("ExpireTime not between", value1, value2, "expiretime");
            return (Criteria) this;
        }

        public Criteria andRefundsucctimeIsNull() {
            addCriterion("RefundSuccTime is null");
            return (Criteria) this;
        }

        public Criteria andRefundsucctimeIsNotNull() {
            addCriterion("RefundSuccTime is not null");
            return (Criteria) this;
        }

        public Criteria andRefundsucctimeEqualTo(Date value) {
            addCriterion("RefundSuccTime =", value, "refundsucctime");
            return (Criteria) this;
        }

        public Criteria andRefundsucctimeNotEqualTo(Date value) {
            addCriterion("RefundSuccTime <>", value, "refundsucctime");
            return (Criteria) this;
        }

        public Criteria andRefundsucctimeGreaterThan(Date value) {
            addCriterion("RefundSuccTime >", value, "refundsucctime");
            return (Criteria) this;
        }

        public Criteria andRefundsucctimeGreaterThanOrEqualTo(Date value) {
            addCriterion("RefundSuccTime >=", value, "refundsucctime");
            return (Criteria) this;
        }

        public Criteria andRefundsucctimeLessThan(Date value) {
            addCriterion("RefundSuccTime <", value, "refundsucctime");
            return (Criteria) this;
        }

        public Criteria andRefundsucctimeLessThanOrEqualTo(Date value) {
            addCriterion("RefundSuccTime <=", value, "refundsucctime");
            return (Criteria) this;
        }

        public Criteria andRefundsucctimeIn(List<Date> values) {
            addCriterion("RefundSuccTime in", values, "refundsucctime");
            return (Criteria) this;
        }

        public Criteria andRefundsucctimeNotIn(List<Date> values) {
            addCriterion("RefundSuccTime not in", values, "refundsucctime");
            return (Criteria) this;
        }

        public Criteria andRefundsucctimeBetween(Date value1, Date value2) {
            addCriterion("RefundSuccTime between", value1, value2, "refundsucctime");
            return (Criteria) this;
        }

        public Criteria andRefundsucctimeNotBetween(Date value1, Date value2) {
            addCriterion("RefundSuccTime not between", value1, value2, "refundsucctime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNull() {
            addCriterion("CreateTime is null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNotNull() {
            addCriterion("CreateTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeEqualTo(Date value) {
            addCriterion("CreateTime =", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotEqualTo(Date value) {
            addCriterion("CreateTime <>", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThan(Date value) {
            addCriterion("CreateTime >", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("CreateTime >=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThan(Date value) {
            addCriterion("CreateTime <", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThanOrEqualTo(Date value) {
            addCriterion("CreateTime <=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIn(List<Date> values) {
            addCriterion("CreateTime in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotIn(List<Date> values) {
            addCriterion("CreateTime not in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeBetween(Date value1, Date value2) {
            addCriterion("CreateTime between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotBetween(Date value1, Date value2) {
            addCriterion("CreateTime not between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNull() {
            addCriterion("UpdateTime is null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNotNull() {
            addCriterion("UpdateTime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeEqualTo(Date value) {
            addCriterion("UpdateTime =", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotEqualTo(Date value) {
            addCriterion("UpdateTime <>", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThan(Date value) {
            addCriterion("UpdateTime >", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("UpdateTime >=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThan(Date value) {
            addCriterion("UpdateTime <", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThanOrEqualTo(Date value) {
            addCriterion("UpdateTime <=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIn(List<Date> values) {
            addCriterion("UpdateTime in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotIn(List<Date> values) {
            addCriterion("UpdateTime not in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeBetween(Date value1, Date value2) {
            addCriterion("UpdateTime between", value1, value2, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotBetween(Date value1, Date value2) {
            addCriterion("UpdateTime not between", value1, value2, "updatetime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria implements Serializable {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion implements Serializable {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}